package senior.DateExer;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * 输出今天的日期和周几，周几用汉字表示
 * @author shkstart
 * @creat 2022-04-15:34
 */
public class Exer0 {
    public static void main(String[] args) {
        Date date = new Date();
        SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd E");
        String s = sdf.format(date);
        System.out.println(s);
    }
}
